package com.jeeplus.modules.statistics.mapper;

import com.jeeplus.modules.statistics.model.domain.SexCount;
import com.jeeplus.modules.statistics.model.query.StatisticsQuery;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 性别统计
 *
 * @author hanKongBin
 * @version 1.0
 * @date 2021/3/7 15:33
 */
@Mapper
@Repository
public interface SexMapper {
    /**
     * 统计查询
     *
     * @param query
     * @return
     */
    List<SexCount> statistics(StatisticsQuery query);
}
